using System.Collections.Generic;
using CommonLibrary.Model;

namespace CommonLibrary.BLL
{
    public class Linkman_Group
    {
        public static bool Exsits(int LinkmanGroupNo)
        {
            CommonLibrary.DAL.Linkman_Group dal = new CommonLibrary.DAL.Linkman_Group();
            return dal.Exsits(LinkmanGroupNo);
        }
        public static bool Insert(Linkman_GroupInfo Linkman_Group)
        {
            CommonLibrary.DAL.Linkman_Group dal = new CommonLibrary.DAL.Linkman_Group();
            return dal.Insert(Linkman_Group);
        }
        public static bool Update(Linkman_GroupInfo Linkman_Group)
        {
            CommonLibrary.DAL.Linkman_Group dal = new CommonLibrary.DAL.Linkman_Group();
            return dal.Update(Linkman_Group);
        }
        public static bool Delete(int LinkmanGroupNo)
        {
            CommonLibrary.DAL.Linkman_Group dal = new CommonLibrary.DAL.Linkman_Group();
            return dal.Delete(LinkmanGroupNo);
        }
        public static Linkman_GroupInfo GetLinkman_Group(int LinkmanGroupNo)
        {
            CommonLibrary.DAL.Linkman_Group dal = new CommonLibrary.DAL.Linkman_Group();
            return dal.GetLinkman_Group(LinkmanGroupNo);
        }
        public static List<Linkman_GroupInfo> GetList(string StrWhere)
        {
            CommonLibrary.DAL.Linkman_Group dal = new CommonLibrary.DAL.Linkman_Group();
            return dal.GetList(StrWhere);
        }

    }
}